* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #000;
  text-decoration: none;
}

html,
body {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #E4E9F7;
  transform-style: preserve-3d;
  transition: 1s .3s;
}

.box {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(30deg) rotateY(30deg);
  /* perspective-origin: 100%; */
  transition: 3s;
  margin-bottom: 50px;
  /* perspective: 1000px; */
}

.box span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, .5);
  text-align: center;
  line-height: 100px;
  color: #fff;
  font-size: 30px;
  border-radius: 20px;
  border: 1px solid #fff;
}

.box span:nth-of-type(1) {
  transform: translateX(50px) rotateY(90deg);
  background-color: rgba(188, 61, 61, 0.5);
}

.box span:nth-of-type(2) {
  transform: translateX(-50px) rotateY(90deg);
  background-color: rgba(79, 237, 79, 0.5);
}

.box span:nth-of-type(3) {
  transform: translateZ(-50px);
  background-color: rgba(63, 63, 199, 0.5);
}

.box span:nth-of-type(4) {
  transform: translateZ(50px);
  background-color: rgba(212, 212, 87, 0.5);
}

.box span:nth-of-type(5) {
  transform: translateY(50px) rotateX(90deg);
  background-color: rgba(73, 209, 209, 0.5);
}

.box span:nth-of-type(6) {
  transform: translateY(-50px) rotateX(90deg);
  background-color: rgba(192, 82, 82, 0.5);
}

.box:hover {
  transform-style: preserve-3d;
  transform: rotateX(180deg) rotateY(270deg) rotateZ(30deg);
}

.title {
  color: #666c7c;
  font-family: monospace;
  font-weight: 600;
  font-size: 36px;
  height: 150px;
  line-height: 150px;
  letter-spacing: 4px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* justify-content: center; */
  width: 800px;
  border: 1px solid rgb(130, 113, 255);
  min-width: 60vw;
}

.container table {
  width: 100%;
  background-color: #faf9ff;
  border-spacing: 0px;
  border-collapse: collapse;
  table-layout: fixed;
}

table th {
  background-color: #eeddff;
  height: 25px;
  cursor: pointer;
}

/* table tr th:nth-of-type(2) {
  width: 100px;
} */

th,
td {
  color: #333;
  font-size: 16px;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid #ddd;
}

h3 {
  transition: 1s .3s;
}

h3:hover {
  transform: translate(20px,4px) scale(1.1) rotate(5deg);
  color: #bd9bdf;
  cursor: pointer;
  text-shadow: 0 0 4px 4px red;
}


.anniu {
  margin-top: 80px;
}
.anniu button {
  width: 80px;
  height: 36px;
  font-size: 18px;
  border-radius: 10px;
  background-color: rgb(228,233,247);
  border: 1px solid rgb(130, 113, 255);
  color: #333;
  transition: .3s .1s;
}

.anniu button:hover {
  border-radius: 20px;
  cursor: pointer;
  color: #fff;
  background-color: rgba(35, 23, 48, 0.8);
  font-size: 14px;
  transform: scale(.94);
}